<?php

namespace App\Modules\Admin\Entities\Equipment;

use App\Models\Model;
use App\Modules\Admin\Entities\Water\WaterDeviceModel;

class EquipmentParamsPurifyModel extends Model
{
    protected $table='equipment_params_purify';
    protected $primaryKey='id';
    protected $is_delete=0;


    public function water_device_info(){
        return $this->hasOne(WaterDeviceModel::class,'water_id','water_id')->select(['water_id','water_title']);
    }


}
